<?php 

include './Core/function.php';

if($_GET){
	$id = $_GET['id'];

	$db = include './db.php';

	unset($db[$id]);

	$str = var_export($db,True);

	$str = "<?php 
	return  ". $str ." 
	?>";

	file_put_contents('./db.php', $str);

	success('index.php','删除成功');
}else{
	error('index.php','非法提交');
}













 ?>